package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目团队管理对象 pro_team
 *
 * @author ruoyi
 * @date 2024-10-07
 */
public class ProTeam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 项目编号
     */
    private Long teamId;

    /**
     * 团队名称
     */
    @Excel(name = "团队名称")
    private String teamTeamname;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 项目团队成员信息
     */
    private List<ProTeamUser> proTeamUserList;

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamTeamname(String teamTeamname) {
        this.teamTeamname = teamTeamname;
    }

    public String getTeamTeamname() {
        return teamTeamname;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<ProTeamUser> getProTeamUserList() {
        return proTeamUserList;
    }

    public void setProTeamUserList(List<ProTeamUser> proTeamUserList) {
        this.proTeamUserList = proTeamUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("teamId", getTeamId())
                .append("teamTeamname", getTeamTeamname())
                .append("createTime", getCreateTime())
                .append("proTeamUserList", getProTeamUserList())
                .toString();
    }
}
